Current Location: Home> Function Categories> exp

exp

Calculate the index of e
Name:exp
Category:math
Programming Language:php
One-line Description:Returns the value to the x power of E.

Definition and usage

exp() function calculates the exponent of e.

Example

In this example, we will apply the exp() function to different numbers:

 <?php
echo ( exp ( 1 ) ) ;
echo ( exp ( - 1 ) ) ;
echo ( exp ( 5 ) ) ;
echo ( exp ( 10 ) )
?>

Try it yourself

grammar

 exp ( x )
parameter describe
x Required. A number.

illustrate

Returns the x -power value of e. .

Similar Functions
  • Inverse hyperbolic sine asinh

    asinh

    Inversehyperbolicsin
  • Cosine cos

    cos

    Cosine
  • Further method to sort ceil

    ceil

    Furthermethodtosort
  • Leave the method of sorting floor

    floor

    Leavethemethodofsort
  • Convert octal to decimal octdec

    octdec

    Convertoctaltodecima
  • Natural logarithm log

    log

    Naturallogarithm
  • Round the division result intdiv

    intdiv

    Roundthedivisionresu
  • Find the maximum value max

    max

    Findthemaximumvalue
Popular Articles